package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.FyPeople;
import com.ruoyi.system.domain.vo.web.WebPeopleVo;
import org.apache.ibatis.annotations.Param;

/**
 * 传承人信息Service接口
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public interface IFyPeopleService
{
    /**
     * 查询传承人信息
     *
     * @param peopleId 传承人信息主键
     * @return 传承人信息
     */
    public FyPeople selectFyPeopleByPeopleId(Long peopleId);

    /**
     * 查询传承人信息列表
     *
     * @param fyPeople 传承人信息
     * @return 传承人信息集合
     */
    public List<FyPeople> selectFyPeopleList(FyPeople fyPeople);
    public List<WebPeopleVo> selectWebPeople(String peopleName ,String projectName,String projectType,String peopleLevel);
    /**
     * 新增传承人信息
     *
     * @param fyPeople 传承人信息
     * @return 结果
     */
    public int insertFyPeople(FyPeople fyPeople);

    /**
     * 修改传承人信息
     *
     * @param fyPeople 传承人信息
     * @return 结果
     */
    public int updateFyPeople(FyPeople fyPeople);

    /**
     * 批量删除传承人信息
     *
     * @param peopleIds 需要删除的传承人信息主键集合
     * @return 结果
     */
    public int deleteFyPeopleByPeopleIds(Long[] peopleIds);

    /**
     * 删除传承人信息信息
     *
     * @param peopleId 传承人信息主键
     * @return 结果
     */
    public int deleteFyPeopleByPeopleId(Long peopleId);
}
